import type { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [
  {
    path: '/qualityTesting',
    name: 'QualityTesting',
    meta: {
      icon: 'tabler:align-box-left-middle-filled',
      keepAlive: true,
      order: 1000,
      title: "质检报表",
    },
    children: [
      {
        path: '/qualityTesting/coReport',
        name: 'CoQualityTesting',
        component: () => import('#/pages/qualityTesting/common/qualityTesting.vue'),
        meta: {
          title: "iot通用质检报表",
        }
      },
      {
        path: '/qualityTesting/coProductOrder',
        name: 'CoQualityTestingProductOrder',
        component: () => import('#/pages/qualityTesting/common/productOrder.vue'),
        meta: {
          title: "质检数据绑定生产订单"
        }
      }
    ]
  }
];

export default routes;